<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> 
<head>
<meta charset="UTF-8"/>
<title>Insert title here</title>
</head>
<body>
<span th:if="${#fields.hasErrors('${userBean.*}')}"><span th:errors="${userBean.*}"></span></span>
<marquee direction="left" behave="scroll">
<span th:text="${message}">12</span><br/>
</marquee>
  <form action="init3"  th:object="${userBean}" method="post"> 
用户ID：<input name="userId" th:value="${userBean.userId}"/><br/>
 用户名：<input name="userName" type="text" th:value="${userBean.userName}"/><br/>
 密码:<input name="passWord" type="password" /><br/>
 确认密码：<input name="passWord1" type="password" /><br/>
 <button type="submit" name="alter">修改</button> 
 <button type="submit" name="cancel">取消</button> 
 </form>
</body>
</html>